package com.rzdata.poct.system.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.rzdata.poct.common.core.mybatisplus.core.BaseMapperPlus;
import com.rzdata.poct.system.domain.business.po.PoctMaterial;
import com.rzdata.poct.system.domain.business.vo.PoctMaterialVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 【请填写功能名称】Mapper接口
 *
 * @author ruoyi
 * @date 2021-09-09
 */
public interface PoctMaterialMapper extends BaseMapperPlus<PoctMaterial> {
     Page<PoctMaterialVo> queryPageMaterialList(@Param("page")Page<PoctMaterial> page, @Param("material") PoctMaterial material);

    /**
     * 根据id获取耗材详细信息
     * @param id
     * @return
     */
    PoctMaterial queryDetailById(@Param("id")Long id);

    /**
     * 修改耗材状态
     * @param bo
     */
    void updateMaterialStatus(@Param("material")PoctMaterial bo);
//    Page<SysRole> selectPageRoleList(@Param("page") Page<SysRole> page, @Param("role") SysRole role);
}
